#include <CoOS.h>			                 /*!< CoOS header file            */
#include <stdio.h>
#include "NUC123.h"
#include "fire.h"
#include "shell.h"

void Fire_Init(void)
{
	GPIO_SetMode(PB, BIT13, GPIO_PMD_INPUT);
}


void fire_test(char *p0, char *p1, char *p2)
{
	printf("Fire state %d\n", FIRE_STATE());
}

SHELL_CMD(fire, fire_test);
